function T = static_resid_tt(T, y, x, params)
% function T = static_resid_tt(T, y, x, params)
%
% File created by Dynare Preprocessor from .mod file
%
% Inputs:
%   T         [#temp variables by 1]  double   vector of temporary terms to be filled by function
%   y         [M_.endo_nbr by 1]      double   vector of endogenous variables in declaration order
%   x         [M_.exo_nbr by 1]       double   vector of exogenous variables in declaration order
%   params    [M_.param_nbr by 1]     double   vector of parameter values in declaration order
%
% Output:
%   T         [#temp variables by 1]  double   vector of temporary terms
%

assert(length(T) >= 186);

T(1) = params(5)*(1+y(27))^(-1)*exp(y(87));
T(2) = exp(y(87))*params(5)*(1+y(54))^(-1);
T(3) = exp(y(87))*params(5)*(1+y(81))^(-1);
T(4) = 1-params(3);
T(5) = exp(y(15))^T(4);
T(6) = params(17)^(params(3)-1);
T(7) = exp(y(23));
T(8) = T(6)*T(7);
T(9) = T(8)*(params(1)*exp(y(20))*params(39)*(1+params(38)*(1-x(1))))^T(4);
T(10) = params(27)^(params(3)-1);
T(11) = exp(y(50));
T(12) = T(10)*T(11);
T(13) = T(12)*(params(1)*exp(y(47))*params(43)*(1+params(42)*(1-x(4))))^T(4);
T(14) = params(37)^(params(3)-1);
T(15) = exp(y(77));
T(16) = T(14)*T(15);
T(17) = T(16)*((1+params(46)*(1-x(7)))*params(1)*params(47))^T(4);
T(18) = exp(y(42))^T(4);
T(19) = T(8)*(params(1)*exp(y(20))*params(51)*(1+params(50)*(1-x(10))))^T(4);
T(20) = T(12)*(params(1)*exp(y(47))*params(55)*(1+params(54)*(1-x(13))))^T(4);
T(21) = T(16)*((1+params(58)*(1-x(16)))*params(1)*params(59))^T(4);
T(22) = exp(y(69))^T(4);
T(23) = T(8)*(params(1)*exp(y(20))*params(63)*(1+params(62)*(1-x(19))))^T(4);
T(24) = T(12)*(params(1)*exp(y(47))*params(67)*(1+params(66)*(1-x(22))))^T(4);
T(25) = T(16)*((1+params(70)*(1-x(25)))*params(1)*params(71))^T(4);
T(26) = exp(y(16))^T(4);
T(27) = T(6)*exp(y(24))*(params(1)*exp(y(20))*params(40)*(1-x(2)))^T(4);
T(28) = T(10)*exp(y(51))*(params(1)*exp(y(47))*params(44)*(1-x(5)))^T(4);
T(29) = T(14)*exp(y(78))*((1-x(8))*params(1)*params(48))^T(4);
T(30) = exp(y(43))^T(4);
T(31) = T(6)*exp(y(24))*(params(1)*exp(y(20))*params(52)*(1-x(11)))^T(4);
T(32) = T(10)*exp(y(51))*(params(1)*exp(y(47))*params(56)*(1-x(14)))^T(4);
T(33) = T(14)*exp(y(78))*((1-x(17))*params(1)*params(60))^T(4);
T(34) = exp(y(70))^T(4);
T(35) = T(6)*exp(y(24))*(params(1)*exp(y(20))*params(64)*(1-x(20)))^T(4);
T(36) = T(10)*exp(y(51))*(params(1)*exp(y(47))*params(68)*(1-x(23)))^T(4);
T(37) = T(14)*exp(y(78))*((1-x(26))*params(1)*params(72))^T(4);
T(38) = (exp(y(15))/params(14))^params(14);
T(39) = exp(y(16))/(1-params(14));
T(40) = T(39)^(1-params(14));
T(41) = (exp(y(42))/params(24))^params(24);
T(42) = exp(y(43))/(1-params(24));
T(43) = T(42)^(1-params(24));
T(44) = (exp(y(69))/params(34))^params(34);
T(45) = exp(y(70))/(1-params(34));
T(46) = T(45)^(1-params(34));
T(47) = T(8)*(params(39)*(1+params(38)*(1-x(1))))^T(4);
T(48) = (params(1)*exp(y(20)))^T(4);
T(49) = T(47)*T(48);
T(50) = T(6)*exp(y(24))*(params(40)*(1-x(2)))^T(4);
T(51) = T(48)*T(50);
T(52) = T(12)*(params(43)*(1+params(42)*(1-x(4))))^T(4);
T(53) = (params(1)*exp(y(47)))^T(4);
T(54) = T(52)*T(53);
T(55) = T(10)*exp(y(51))*(params(44)*(1-x(5)))^T(4);
T(56) = T(53)*T(55);
T(57) = params(1)^T(4);
T(58) = T(16)*((1+params(46)*(1-x(7)))*params(47))^T(4)*T(57);
T(59) = T(57)*T(14)*exp(y(78))*((1-x(8))*params(48))^T(4);
T(60) = T(8)*(params(51)*(1+params(50)*(1-x(10))))^T(4);
T(61) = T(6)*exp(y(24))*(params(52)*(1-x(11)))^T(4);
T(62) = T(12)*(params(55)*(1+params(54)*(1-x(13))))^T(4);
T(63) = T(53)*T(62);
T(64) = T(10)*exp(y(51))*(params(56)*(1-x(14)))^T(4);
T(65) = T(53)*T(64);
T(66) = T(57)*T(16)*((1+params(58)*(1-x(16)))*params(59))^T(4);
T(67) = T(57)*T(14)*exp(y(78))*((1-x(17))*params(60))^T(4);
T(68) = T(8)*(params(63)*(1+params(62)*(1-x(19))))^T(4);
T(69) = T(6)*exp(y(24))*(params(64)*(1-x(20)))^T(4);
T(70) = T(12)*(params(67)*(1+params(66)*(1-x(22))))^T(4);
T(71) = T(10)*exp(y(51))*(params(68)*(1-x(23)))^T(4);
T(72) = T(57)*T(16)*((1+params(70)*(1-x(25)))*params(71))^T(4);
T(73) = T(57)*T(14)*exp(y(78))*((1-x(26))*params(72))^T(4);
T(74) = exp(y(14))*exp(y(91))*exp(y(5))/(1+params(38)*(1-x(1)));
T(75) = exp(y(41))*exp(y(115))*exp(y(32))/(1+params(50)*(1-x(10)));
T(76) = exp(y(68))*exp(y(139))*exp(y(59))/(1+params(62)*(1-x(19)));
T(77) = exp(y(14))*exp(y(99))*exp(y(5))/(1+params(42)*(1-x(4)));
T(78) = exp(y(41))*exp(y(123))*exp(y(32))/(1+params(54)*(1-x(13)));
T(79) = exp(y(68))*exp(y(147))*exp(y(59))/(1+params(66)*(1-x(22)));
T(80) = exp(y(14))*exp(y(107))*exp(y(5))/(1+params(46)*(1-x(7)));
T(81) = exp(y(41))*exp(y(131))*exp(y(32))/(1+params(58)*(1-x(16)));
T(82) = exp(y(68))*exp(y(155))*exp(y(59))/(1+params(70)*(1-x(25)));
T(83) = exp(y(86));
T(84) = 1/(params(3)-1);
T(85) = exp(y(20))*T(84);
T(86) = exp(y(47))*T(84);
T(87) = 1/exp(y(87));
T(88) = (1+y(62))^T(84);
T(89) = T(88)/(1+y(8));
T(90) = T(88)/(1+y(35));
T(91) = T(88)/(1+y(62));
T(92) = exp(y(161))*exp(y(14))/T(83);
T(93) = exp(y(166))*exp(y(14))/T(83);
T(94) = exp(y(171))*exp(y(14))/T(83);
T(95) = exp(y(176))*exp(y(41))/T(83);
T(96) = exp(y(181))*exp(y(41))/T(83);
T(97) = exp(y(186))*exp(y(41))/T(83);
T(98) = exp(y(191))*exp(y(68))/T(83);
T(99) = exp(y(196))*exp(y(68))/T(83);
T(100) = exp(y(201))*exp(y(68))/T(83);
T(101) = T(7)*exp(y(178))/T(11);
T(102) = T(7)*exp(y(193))/T(15);
T(103) = T(11)*exp(y(168))/T(7);
T(104) = T(11)*exp(y(198))/T(15);
T(105) = T(15)*exp(y(173))/T(7)+T(15)*exp(y(188))/T(11);
T(106) = exp(y(14))^(-1);
T(107) = T(83)^(-params(2));
T(108) = 1/(1-params(2));
T(109) = (exp(y(21))*params(2)*params(11)*T(107))^T(108);
T(110) = exp(y(41))^(-1);
T(111) = (T(107)*exp(y(48))*params(2)*params(21))^T(108);
T(112) = exp(y(68))^(-1);
T(113) = (T(107)*exp(y(75))*params(2)*params(31))^T(108);
T(114) = exp(y(11))*exp(y(14))/T(83);
T(115) = params(11)*T(114)^params(2);
T(116) = T(7)/exp(y(22));
T(117) = exp(y(38))*exp(y(41))/T(83);
T(118) = params(21)*T(117)^params(2);
T(119) = T(11)/exp(y(49));
T(120) = exp(y(65))*exp(y(68))/T(83);
T(121) = params(31)*T(120)^params(2);
T(122) = T(15)/exp(y(76));
T(123) = exp(y(164))*(exp(y(22))*(1+y(12))/exp(y(90))-1);
T(124) = exp(y(169))*(exp(y(49))*(1+y(39))/exp(y(98))-1);
T(125) = exp(y(174))*(exp(y(76))*(1+y(66))/exp(y(106))-1);
T(126) = exp(y(179))*(exp(y(22))*(1+y(12))/exp(y(114))-1);
T(127) = exp(y(184))*(exp(y(49))*(1+y(39))/exp(y(122))-1);
T(128) = exp(y(189))*(exp(y(76))*(1+y(66))/exp(y(130))-1);
T(129) = exp(y(194))*(exp(y(22))*(1+y(12))/exp(y(138))-1);
T(130) = exp(y(199))*(exp(y(49))*(1+y(39))/exp(y(146))-1);
T(131) = exp(y(204))*(exp(y(76))*(1+y(66))/exp(y(154))-1);
T(132) = exp(y(161))*(-exp(y(14)))*T(7)/exp(y(90));
T(133) = exp(y(164))/y(89);
T(134) = T(132)*T(133);
T(135) = exp(y(166))*(-exp(y(14)))*T(7)/exp(y(98));
T(136) = exp(y(169))/y(97);
T(137) = T(135)*T(136);
T(138) = exp(y(171))*(-exp(y(14)))*T(7)/exp(y(106));
T(139) = exp(y(174))/y(105);
T(140) = T(138)*T(139);
T(141) = exp(y(176))*(-exp(y(41)))*T(11)/exp(y(114));
T(142) = exp(y(179))/y(113);
T(143) = T(141)*T(142);
T(144) = exp(y(181))*(-exp(y(41)))*T(11)/exp(y(122));
T(145) = exp(y(184))/y(121);
T(146) = T(144)*T(145);
T(147) = exp(y(186))*(-exp(y(41)))*T(11)/exp(y(130));
T(148) = exp(y(189))/y(129);
T(149) = T(147)*T(148);
T(150) = exp(y(191))*(-exp(y(68)))*T(15)/exp(y(138));
T(151) = exp(y(194))/y(137);
T(152) = T(150)*T(151);
T(153) = exp(y(196))*(-exp(y(68)))*T(15)/exp(y(146));
T(154) = exp(y(199))/y(145);
T(155) = T(153)*T(154);
T(156) = exp(y(201))*(-exp(y(68)))*T(15)/exp(y(154));
T(157) = exp(y(204))/y(153);
T(158) = T(156)*T(157);
T(159) = exp(y(161))*exp(y(14))*T(7)/exp(y(90));
T(160) = T(133)*T(159);
T(161) = exp(y(166))*exp(y(14))*T(7)/exp(y(98));
T(162) = T(136)*T(161);
T(163) = exp(y(171))*exp(y(14))*T(7)/exp(y(106));
T(164) = T(139)*T(163);
T(165) = exp(y(176))*exp(y(41))*T(11)/exp(y(114));
T(166) = T(142)*T(165);
T(167) = exp(y(181))*exp(y(41))*T(11)/exp(y(122));
T(168) = T(145)*T(167);
T(169) = exp(y(186))*exp(y(41))*T(11)/exp(y(130));
T(170) = T(148)*T(169);
T(171) = exp(y(191))*exp(y(68))*T(15)/exp(y(138));
T(172) = T(151)*T(171);
T(173) = exp(y(196))*exp(y(68))*T(15)/exp(y(146));
T(174) = T(154)*T(173);
T(175) = exp(y(201))*exp(y(68))*T(15)/exp(y(154));
T(176) = T(157)*T(175);
T(177) = exp(y(32))*exp(y(41))*exp(y(115))/(1+params(50)*(1-x(10)));
T(178) = exp(y(119))+T(177);
T(179) = exp(y(59))*exp(y(68))*exp(y(139))/(1+params(62)*(1-x(19)));
T(180) = exp(y(5))*exp(y(14))*exp(y(99))/(1+params(42)*(1-x(4)));
T(181) = exp(y(103))+T(180);
T(182) = exp(y(59))*exp(y(68))*exp(y(147))/(1+params(66)*(1-x(22)));
T(183) = exp(y(5))*exp(y(14))*exp(y(107))/(1+params(46)*(1-x(7)));
T(184) = exp(y(32))*exp(y(41))*exp(y(131))/(1+params(58)*(1-x(16)));
T(185) = exp(y(4))*y(2)*exp(y(87))*1/exp(y(26));
T(186) = exp(y(31))*exp(y(87))*y(29)*1/exp(y(53));

end
